package com.zrrd.demo02;

/**
 * @author WanJl
 * @version 1.0
 * @title Student
 * @description
 * @create 2024/3/17
 */
public class Student {
    private String name;
    private int age;
    private String sex;
    private String phone;
    private String address;
    private String email;

    public Student() {
    }

    public Student(String name, int age, String sex, String phone, String address, String email) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.phone = phone;
        this.address = address;
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void eat(){
        System.out.println("吃..");
    }

}
